package com.scs.application.modules.fsd.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.fsd.entity.FsdGroupRole;

import java.util.List;

/**
 */
public interface GroupRoleService extends IBaseService<FsdGroupRole> {
    List<FsdGroupRole> getGroupsByRole(String id);

    boolean changeGroupsByRole(String groupIds, String roleId);

    List<FsdGroupRole> getRolesByGroup(String id);

    boolean changeRolesByGroup(String roleIds, String groupId);
}
